//
//  Q3CollectionViewCell.m
//  RedManStock
//
//  Created by lanou3g on 15/7/25.
//  Copyright (c) 2015年 lanou3g. All rights reserved.
//

#import "Q3CollectionViewCell.h"

@implementation Q3CollectionViewCell

- (void)awakeFromNib {
    // Initialization code
}

-(void)setUpList:(UpList *)upList{
    
    if (_upList != upList) {
        _upList = upList;
    }
    
    self.codeLabel.text = upList.codeSB;
    self.nameLabel.text = upList.name;
    self.nowPriceLabel.text = upList.nowPriceSB;
    self.updownRateLabel.text = upList.updownRateSB;
    self.recommendLabel.text = upList.recommendSB;
    

}

-(void)setDownList:(DownList *)downList{
    if (_downList != downList) {
        
        _downList = downList;
    }
    
    self.codeLabel.text = downList.codeSB;
    self.nameLabel.text = downList.name;
    self.nowPriceLabel.text = downList.nowPriceSB;
    self.updownRateLabel.text = downList.updownRateSB;
    self.recommendLabel.text = downList.recommendSB;
    
}

-(void)setTurnoverList:(TurnoverList *)turnoverList{
    
    if (_turnoverList != turnoverList) {
        
        _turnoverList = turnoverList;
    }
    
    self.codeLabel.text = turnoverList.codeSB;
    self.nameLabel.text = turnoverList.name;
    self.nowPriceLabel.text = turnoverList.nowPriceSB;
    self.updownRateLabel.text = turnoverList.turnoverRateSB;
    self.recommendLabel.text = turnoverList.recommendSB;
    
    
}


@end
